package data;

import java.io.Serializable;

public class DataTest implements Serializable{
	/*
	 * Data structure for Random search Master-Worker
	 */
	private static final long serialVersionUID = -1062637940662553031L;
	double dataDouble;
	int dataInt;
	
	public DataTest(int dataInt_){
		dataInt = dataInt_;
	}
	
	public DataTest(double dataDouble_){
		dataDouble = dataDouble_;
	}
	
	public double getDataDouble(){
		return dataDouble;
	}
	
	public int getDataInt(){
		return dataInt;
	}
	
	public void updateData(int dataInt_){
		dataInt = dataInt_;
	}
	
	public void updateData(double dataDouble_){
		dataDouble = dataDouble_;
	}
	
	
}